package com.springboot.frame.starter.csrf;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * Csrf参数
 *
 * @author TaoYu
 */
@Data
@ConfigurationProperties(prefix = "web.csrf")
public class CsrfProperties {

  /**
   * 是否开启防止CSRF攻击
   */
  private boolean enabled = false;
  /**
   * filter顺序
   */
  private Integer order = Integer.MIN_VALUE;

}
